<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ page import="com.zmx.holiday.user.model.*"%>
<%@ include file="/head.jsp" %>

<s:form action="roomUpdate" namespace="/reg" validate="true" theme="simple" method="post"  enctype="multipart/form-data">
<input name="userID" type="hidden" value="<%=userID%>">
<input name="roomID" type="hidden" value="<s:property value='roomInfo.roomID'/>">
客房基本信息<br/><br/>
客房名称：<s:textfield name="roomInfo.roomName"/><br/>
<s:fielderror><s:param>roomInfo.homeName</s:param></s:fielderror>
客房类型：<select name="roomInfo.roomType">
			<option>套房</option>
			<option>豪华套房</option>
			<option>单人间</option>
			<option>标准间</option>
			<option>三人间</option>
			<option>其他</option>
		<select><br/>
<s:fielderror><s:param>roomInfo.roomType</s:param></s:fielderror>
客房照片：<s:file name="roomInfo.roomPic"/><br/>
<s:fielderror><s:param>roomInfo.roomPic</s:param></s:fielderror>
房间价格：<s:textfield name="roomInfo.roomPrice"/>
	<select name="roomInfo.roomPriceType">
		<option>/人</option>
		<option>/天</option>
		<option>/周</option>
		<option>/月</option>
		<option>/季</option>
		<option>/年</option>
	</select><br/>
<s:fielderror><s:param>roomInfo.homePic</s:param></s:fielderror>
房间数量：<s:textfield name="roomInfo.roomNum"/><br/>
<s:fielderror><s:param>roomInfo.roomNum</s:param></s:fielderror>
床铺数：<s:textfield name="roomInfo.roomBedNum"/><br/>
<s:fielderror><s:param>roomInfo.roomBedNum</s:param></s:fielderror>
客房面积：<s:textfield name="roomInfo.roomArea"/><br/>
<s:fielderror><s:param>roomInfo.roomArea</s:param></s:fielderror>
客房描述：<s:textarea name="roomDetail.roomDes"/><br/>
<s:fielderror><s:param>roomDetail.homeDes</s:param></s:fielderror>
客房详细信息<br/><br/>
<s:checkbox name="roomDetail.roomTV">电视机</s:checkbox>
<s:checkbox name="roomDetail.roomAir">空调</s:checkbox>
<s:checkbox name="roomDetail.roomSepToilet">独立卫生间</s:checkbox>
<s:checkbox name="roomDetail.roomPubToilet">公共卫生间</s:checkbox>
<s:checkbox name="roomDetail.roomBath">浴室</s:checkbox>
<s:checkbox name="roomDetail.roomInternet">宽带</s:checkbox>
<s:checkbox name="roomDetail.roomWashMac">洗衣机</s:checkbox>
<s:checkbox name="roomDetail.roomFridge">冰箱</s:checkbox>
<s:checkbox name="roomDetail.roomPhone">电话</s:checkbox>
<s:checkbox name="roomDetail.roomSofa">沙发</s:checkbox>
<s:checkbox name="roomDetail.roomWater">饮水机</s:checkbox>
其他信息：<s:textarea name="roomDetail.roomOther"/><br/>
<s:fielderror><s:param>roomDetail.roomOther</s:param></s:fielderror>
<input type=submit value="提交注册信息"/>
</s:form>
<%@ include file="/foot.jsp" %>